package com.bluedot.www.baiyetest.servlet.baiyetest.dao;


import com.bluedot.www.baiyetest.servlet.baiyetest.pojo.User;
import com.bluedot.www.framework.ibatis.mybaits.annotation.Select;

import java.util.List;

public interface IUserDao {


    @Select("select * from user")
    List<User> findAll();
    @Select("select * from user where id=#{id}")
    User findById(String id);
    void insertUser(User user);

    void deletebyId(String s);

    void update(User user);
}
